package com.ruoyi.fuw.domain;

import java.math.BigDecimal;

import com.alibaba.fastjson.annotation.JSONField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 fuw_comm
 * 
 * @author ruoyi
 * @date 2021-10-09
 */
public class FuwComm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private String commId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String commName;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String commText;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String commPicture;

    /** 商品标签 */
    @Excel(name = "商品标签")
    private String commType;

    /** 商品单价 */
    @Excel(name = "商品单价")
    @JSONField(format = "#0.000")
    private BigDecimal commDanjia;

    /** 商品折扣 */
    @Excel(name = "商品折扣")
    private Integer commZhekou;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long commKucun;

    public void setCommId(String commId) 
    {
        this.commId = commId;
    }

    public String getCommId() 
    {
        return commId;
    }
    public void setCommName(String commName) 
    {
        this.commName = commName;
    }

    public String getCommName() 
    {
        return commName;
    }
    public void setCommText(String commText) 
    {
        this.commText = commText;
    }

    public String getCommText() 
    {
        return commText;
    }
    public void setCommPicture(String commPicture) 
    {
        this.commPicture = commPicture;
    }

    public String getCommPicture() 
    {
        return commPicture;
    }
    public void setCommType(String commType) 
    {
        this.commType = commType;
    }

    public String getCommType() 
    {
        return commType;
    }
    public void setCommDanjia(BigDecimal commDanjia)
    {
        this.commDanjia = commDanjia;
    }

    public BigDecimal getCommDanjia()
    {
        return commDanjia;
    }
    public void setCommZhekou(Integer commZhekou)
    {
        this.commZhekou = commZhekou;
    }

    public Integer getCommZhekou()
    {
        return commZhekou;
    }
    public void setCommKucun(Long commKucun) 
    {
        this.commKucun = commKucun;
    }

    public Long getCommKucun() 
    {
        return commKucun;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commId", getCommId())
            .append("commName", getCommName())
            .append("commText", getCommText())
            .append("commPicture", getCommPicture())
            .append("commType", getCommType())
            .append("commDanjia", getCommDanjia())
            .append("commZhekou", getCommZhekou())
            .append("commKucun", getCommKucun())
            .toString();
    }
}
